<script language="JavaScript" type="text/JavaScript">
<!--
function jsClockShowNow()
{
	document.write('<div id="jsclock"></div>');
	jsClockLoopNow();
}

function jsClockLoopNow()
{
	var now, nowHours, nowMinutes, nowSeconds, nowDayOfWeek, nowDay, nowMonth, nowYear
	now = new Date();
	//Get values
	nowHours = now.getHours();
	nowMinutes = now.getMinutes();
	//avoid one-number minutes
	if (nowMinutes<10) nowMinutes='0'+nowMinutes;
	nowSeconds = now.getSeconds();

	//Adapt values
	if (nowHours.length == 1) nowHours = '0' + nowHours;
	if (nowMinutes.length == 1) nowMinutes = '0' + nowMinutes;
	if (nowSeconds.length == 1) nowSeconds = '0' + nowSeconds;

	var strNow = nowHours + ':' + nowMinutes;
	document.getElementById('jsclock').innerHTML = strNow;

	//lightening the load: every 5s
	setTimeout('jsClockLoopNow()', 5000);
}
jsClockShowNow();
// -->
</script>